package com.shen.start;



public  class TestDog {

    public static int lad(int i){
        if (i==1){
            return 1;
        }else if (i==2){
            return 2;
        }else {
            return lad(i-1)+lad(i-2);
        }
    }

    public static void main(String[] args) {
        System.out.println(lad(11));
        System.out.println(lad(9));
    }
}
